<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/sncss/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="__PUBLIC__/admin/sncss/css/timeselector.css">
<style type="text/css">
.mainlist{padding:10px;}
.audiodiv{float: left; line-height: 36px; margin-right: 10px;}
.audiodiv textarea{line-height: 36px; padding-left: 10px;}
</style>
</head>

<body>

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
		<li><a>首页</a></li>
		<li><a>主播管理</a></li>
		<li><a>主播样音列表</a></li>
		</ul>
		</div>

		<div class="formbody">

		<div class="formtitle"><span>主播样音信息</span></div>
		<ul class="forminfo">
		<notempty name="audiodata['describe_audio']">
		<li><div class="audiodiv">讲述类</div><div class="audiodiv"><audio src="<?php echo $audiodata['describe_audio'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></div><div class="audiodiv"><input type="submit" class="btn" onclick="copyLink('1');" value="点击复制"/></div><div class="audiodiv"><textarea rows="1" cols="50" id="copy1"><?php echo $audiodata["describe_audio"];?></textarea></div><br><br></li>
		</notempty>
		<notempty name="audiodata['emotion_audio']">
		<li><div class="audiodiv">情感类</div><div class="audiodiv"><audio src="<?php echo $audiodata['emotion_audio'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></div><div class="audiodiv"><input type="submit" class="btn" onclick="copyLink('2');" value="点击复制"/></div><div class="audiodiv"><textarea rows="1" cols="50" id="copy2"><?php echo $audiodata["emotion_audio"];?></textarea></div><br><br></li>
		</notempty>
		<notempty name="audiodata['variety_audio']">
		<li><div class="audiodiv">演绎类</div><div class="audiodiv"><audio src="<?php echo $audiodata['variety_audio'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></div><div class="audiodiv"><input type="submit" class="btn" onclick="copyLink('3');" value="点击复制"/></div><div class="audiodiv"><textarea rows="1" cols="50" id="copy3"><?php echo $audiodata["variety_audio"];?></textarea></div><br><br></li>
		</notempty>
		<notempty name="audiodata['news_audio']">
		<li><div class="audiodiv">新闻类</div><div class="audiodiv"><audio src="<?php echo $audiodata['news_audio'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></div><div class="audiodiv"><input type="submit" class="btn" onclick="copyLink('4');" value="点击复制"/></div><div class="audiodiv"><textarea rows="1" cols="50" id="copy4"><?php echo $audiodata["news_audio"];?></textarea></div><br><br></li>
		</notempty>

		<notempty name="audiodata['english_audio']">
			<li><div class="audiodiv">英文类</div><div class="audiodiv"><audio src="<?php echo $audiodata['english_audio'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></div><div class="audiodiv"><input type="submit" class="btn" onclick="copyLink('5');" value="点击复制"/></div><div class="audiodiv"><textarea rows="1" cols="50" id="copy5"><?php echo $audiodata["english_audio"];?></textarea></div><br><br></li>
		</notempty>

		<notempty name="audiodata['introduction_audio']">
			<li><div class="audiodiv">自我介绍</div><div class="audiodiv"><audio src="<?php echo $audiodata['introduction_audio'];?>" controls="controls">您的浏览器不支持 audio 标签。</audio></div><div class="audiodiv"><input type="submit" class="btn" onclick="copyLink('6');" value="点击复制"/></div><div class="audiodiv"><textarea rows="1" cols="50" id="copy6"><?php echo $audiodata["introduction_audio"];?></textarea></div><br><br></li>
		</notempty>

		<li>
			<input type="button" class="btn" href="javascript:void(0);" id="remark" value="备注"/></li>
		</li>
		</ul>

		</div>

</body>
<script src="__PUBLIC__/js/jquery1.8.3.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>
<script src="__PUBLIC__/checkbox/js/input.js"></script>
<script type="text/javascript">
function copyLink(num){
	var e = document.getElementById("copy"+num);
	e.select(); // 选择对象
	document.execCommand("Copy"); // 执行浏览器复制命令
	layer.msg('复制链接成功！');
}
$("#remark").click(function(){
    layer.open({title: false, type: 1, area: ['500px', '300px'], //宽高
        content: '<div class="mainlist">'
        +'<form id="form3" name="form3" method="post" action="/Home/User/user_remark" onsubmit="return form3_submit();">'
        +'备注：<br/><textarea id="remark_content" name="remark_content" rows="3" class="lginput" autofocus="autofocus"></textarea>'
        +'<input type="hidden" name="uuid" class="dfinput" value="{$uuid}" /><br><br><div>备注建议在20个字符以内</div>'
			+'<input type="hidden" name="from" class="dfinput" value="selectreview_message" />'
        +'<input name="submit_type" type="submit" class="btn" value="确认备注"/></form></div>'
    });
});
</script>
</html>
